package com.littlec.sdk.manager;

import com.littlec.sdk.entity.CMContact;
import com.littlec.sdk.utils.CMContactListener;

public class CMContactManager {
	private static CMContactManager cmContactManager;

	protected static CMContactManager getInstance() {
		if (cmContactManager == null) {
			synchronized (CMContactManager.class) {
				if (cmContactManager == null) {
					cmContactManager = new CMContactManager();
				}
			}
		}
		return cmContactManager;
	}

	public CMContact getLoginedUserInfo() {
		CMContact contact = null;
		try {
			contact = new CMContact();
		} catch (Exception e) {
			e.printStackTrace();
		}

		return contact;
	}

	public void destory() {
		cmContactManager = null;
	}
	
	public void setContactListener(CMContactListener listener) {
		
	}
}
